home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / umich / telecomm / fnordadl / fn132src.zoo / cith / browser.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-09-02  |  750 b   |  37 lines

  1. /*
  2.  * browser.h -- defines some structures used by the file browser
  3.  *
  4.  * 91Jan24 AA    Created.
  5.  */
  6.  
  7. #ifndef _BROWSER_H
  8. #define _BROWSER_H
  9.  
  10. #include "dirlist.h"
  11.  
  12. /* #undef BROWSER */        /* disable the browser */
  13. #define BROWSER    /* enable the browser */
  14.  
  15. #ifdef BROWSER
  16.  
  17. typedef struct _browser_entry {
  18.     long br_size;
  19.     char br_name[14];
  20.     struct date_t br_date;
  21.     int br_room;
  22. } brList;
  23.  
  24. struct _browse {
  25.     brList *list;    /* points to an array of filenames */
  26.     int count;    /* how many are in the array */
  27.     int numalloc;    /* how many array slots are allocated */
  28.     int limit;    /* total of file sizes in browser */
  29.     int user;    /* logindex of user who created this list */
  30. } ;
  31.  
  32. extern struct _browse    browse;        /* main browse list */
  33.  
  34. #endif BROWSER
  35.  
  36. #endif _BROWSER_H
  37.